package com.softwarerusher.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TStaff entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TStaff implements java.io.Serializable {

	// Fields

	private Integer staffId;
	private TShop TShop;
	private TStaffdefination TStaffdefination;
	private String staffName;
	private String staffGender;
	private Date staffBir;
	private String staffEmail;
	private String staffPasswd;
	private String staffQq;
	private String staffPhone;
	private String staffAddr;
	private Double staffPayment;
	private String staffIsexist;
	private Set TReturnbooks = new HashSet(0);
	private Set TOutstores = new HashSet(0);
	private Set TBookreturns = new HashSet(0);
	private Set TRents = new HashSet(0);
	private Set TSells = new HashSet(0);

	// Constructors

	/** default constructor */
	public TStaff() {
	}

	/** minimal constructor */
	public TStaff(TShop TShop, TStaffdefination TStaffdefination,
			String staffName, String staffGender, String staffEmail,
			String staffPasswd, String staffIsexist) {
		this.TShop = TShop;
		this.TStaffdefination = TStaffdefination;
		this.staffName = staffName;
		this.staffGender = staffGender;
		this.staffEmail = staffEmail;
		this.staffPasswd = staffPasswd;
		this.staffIsexist = staffIsexist;
	}

	/** full constructor */
	public TStaff(TShop TShop, TStaffdefination TStaffdefination,
			String staffName, String staffGender, Date staffBir,
			String staffEmail, String staffPasswd, String staffQq,
			String staffPhone, String staffAddr, Double staffPayment,
			String staffIsexist, Set TReturnbooks, Set TOutstores,
			Set TBookreturns, Set TRents, Set TSells) {
		this.TShop = TShop;
		this.TStaffdefination = TStaffdefination;
		this.staffName = staffName;
		this.staffGender = staffGender;
		this.staffBir = staffBir;
		this.staffEmail = staffEmail;
		this.staffPasswd = staffPasswd;
		this.staffQq = staffQq;
		this.staffPhone = staffPhone;
		this.staffAddr = staffAddr;
		this.staffPayment = staffPayment;
		this.staffIsexist = staffIsexist;
		this.TReturnbooks = TReturnbooks;
		this.TOutstores = TOutstores;
		this.TBookreturns = TBookreturns;
		this.TRents = TRents;
		this.TSells = TSells;
	}

	// Property accessors

	public Integer getStaffId() {
		return this.staffId;
	}

	public void setStaffId(Integer staffId) {
		this.staffId = staffId;
	}

	public TShop getTShop() {
		return this.TShop;
	}

	public void setTShop(TShop TShop) {
		this.TShop = TShop;
	}

	public TStaffdefination getTStaffdefination() {
		return this.TStaffdefination;
	}

	public void setTStaffdefination(TStaffdefination TStaffdefination) {
		this.TStaffdefination = TStaffdefination;
	}

	public String getStaffName() {
		return this.staffName;
	}

	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}

	public String getStaffGender() {
		return this.staffGender;
	}

	public void setStaffGender(String staffGender) {
		this.staffGender = staffGender;
	}

	public Date getStaffBir() {
		return this.staffBir;
	}

	public void setStaffBir(Date staffBir) {
		this.staffBir = staffBir;
	}

	public String getStaffEmail() {
		return this.staffEmail;
	}

	public void setStaffEmail(String staffEmail) {
		this.staffEmail = staffEmail;
	}

	public String getStaffPasswd() {
		return this.staffPasswd;
	}

	public void setStaffPasswd(String staffPasswd) {
		this.staffPasswd = staffPasswd;
	}

	public String getStaffQq() {
		return this.staffQq;
	}

	public void setStaffQq(String staffQq) {
		this.staffQq = staffQq;
	}

	public String getStaffPhone() {
		return this.staffPhone;
	}

	public void setStaffPhone(String staffPhone) {
		this.staffPhone = staffPhone;
	}

	public String getStaffAddr() {
		return this.staffAddr;
	}

	public void setStaffAddr(String staffAddr) {
		this.staffAddr = staffAddr;
	}

	public Double getStaffPayment() {
		return this.staffPayment;
	}

	public void setStaffPayment(Double staffPayment) {
		this.staffPayment = staffPayment;
	}

	public String getStaffIsexist() {
		return this.staffIsexist;
	}

	public void setStaffIsexist(String staffIsexist) {
		this.staffIsexist = staffIsexist;
	}

	public Set getTReturnbooks() {
		return this.TReturnbooks;
	}

	public void setTReturnbooks(Set TReturnbooks) {
		this.TReturnbooks = TReturnbooks;
	}

	public Set getTOutstores() {
		return this.TOutstores;
	}

	public void setTOutstores(Set TOutstores) {
		this.TOutstores = TOutstores;
	}

	public Set getTBookreturns() {
		return this.TBookreturns;
	}

	public void setTBookreturns(Set TBookreturns) {
		this.TBookreturns = TBookreturns;
	}

	public Set getTRents() {
		return this.TRents;
	}

	public void setTRents(Set TRents) {
		this.TRents = TRents;
	}

	public Set getTSells() {
		return this.TSells;
	}

	public void setTSells(Set TSells) {
		this.TSells = TSells;
	}

}